<template>
<div>
  <el-form
      :model="queryParams"
      ref="queryForm"
      :inline="true"
      label-width="68px"
  >
  <el-form-item label="楼层" prop="deptName">
  <el-select v-model="value" clearable placeholder="请选择">
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value">
    </el-option>
  </el-select>
  </el-form-item>

  <el-form-item label="统计范围" prop="deptName">
  <el-select v-model="value" clearable placeholder="请选择">
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value">
    </el-option>
  </el-select>
  </el-form-item>
  <el-form-item label="统计日期" prop="deptName">
  <el-select v-model="value" clearable placeholder="请选择">
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value">
    </el-option>
  </el-select>
  </el-form-item>

  <el-button type="primary">更新图表</el-button>
  </el-form>
  </div>
</template>

<script>
export default {
  name: 'energy',
   data() {
     return {
       queryParams:{},
       options: [{
         value: '选项1',
          label: '黄金糕'
        }, {
          value: '选项2',
          label: '双皮奶'
        }, {
          value: '选项3',
          label: '蚵仔煎'
        }, {
          value: '选项4',
          label: '龙须面'
        }, {
          value: '选项5',
          label: '北京烤鸭'
        }],
        value: ''
      }
    },
  created() {
    
    
    // let mounth = new Map()
    // for(let i =4;i<=11;i++){
      //   mounth.set(i+'th',0)
    // }
    // let s = "00:00:00"
    // let map = new Map()
    // for(let i=0;i<96;i++){
      //   let mounth = new Map()
    //   for(let i =4;i<=11;i++){
      //     mounth.set(i+'th',0)
    //   }
    //   map.set(s,mounth)
    //   s = moment(s,"HH:mm:ss").add(15, 'm').format("HH:mm:ss")
    // }
    // map.set("23:59:59",mounth)
    

    // console.log(map);
    
    

    var moment = require('moment');
    console.log(moment('00:00:00',"HH:mm:ss").isBetween(moment('00:00:00',"HH:mm:ss.SSS"),moment('16:15:01.1111',"HH:mm:ss.SSS"), null, '[)'));
  },
}

</script>

<style scoped>
 .el-row {
    margin-bottom: 20px;
  }
  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>